import request from '../utils/request.js'
/**
 * 停工分析
 * @param {*} query
 * @returns
 */
export function getDowntime(query) {
    return request({
        url: '/analysis-mang/anal/downtime/',
        method: 'get',
        params: query
    })
}

/**
 * 利用率分析
 * @param {*} query
 * @returns
 */
export function getUtilization(query) {
    return request({
        url: '/analysis-mang/anal/utilization/',
        method: 'get',
        params: query
    })
}

/**
 * 效率分析
 * @param {*} query
 * @returns
 */
export function getAnalOee(query) {
    return request({
        url: '/analysis-mang/anal/oee/',
        method: 'get',
        params: query
    })
}

/**
 * 产量分析
 * @param {*} query
 * @returns
 */
export function getWorkcounts(query) {
    return request({
        url: '/analysis-mang/anal/work-counts/',
        method: 'get',
        params: query
    })
}